class CustBankInfoEntity {
//ID
  String id = "";
  //人员标识
  String userId = "";
  //银行类型
  String bankType = "";
  //银行账号
  String bankNo = "";
  //开户行
  String remark = "";
  //持卡人姓名
  String ownerName = "";
  //持卡人手机号
  String ownerPhone = "";
  //是否默认
  String beDefault = "";
  //是否最后一次使用
  String beLast = "";
  //银行类型名称
  String bankTypeName = "";
  //是否默认名称
  String beDefaultName = "";
  //是否最后一次使用名称
  String beLastName = "";
  //创建时间
  String createDate = "";
  String imageUrl = "";
  CustBankInfoEntity(
      {this.id,
      this.remark,
      this.userId,
      this.bankType,
      this.bankNo,
      this.ownerName,
      this.ownerPhone,
      this.beDefault,
      this.beLast,
      this.bankTypeName,
      this.beDefaultName,
      this.beLastName,
      this.createDate});

  CustBankInfoEntity.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    remark = json['remark'];
    userId = json['userId'];
    bankType = json['bankType'];
    bankNo = json['bankNo'];
    ownerName = json['ownerName'];
    ownerPhone = json['ownerPhone'];
    beDefault = json['beDefault'];
    beLast = json['beLast'];
    bankTypeName = json['bankTypeName'];
    beDefaultName = json['beDefaultName'];
    beLastName = json['beLastName'];
    createDate = json['createDate'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['remark'] = this.remark;
    data['userId'] = this.userId;
    data['bankType'] = this.bankType;
    data['bankNo'] = this.bankNo;
    data['ownerName'] = this.ownerName;
    data['ownerPhone'] = this.ownerPhone;
    data['beDefault'] = this.beDefault;
    data['beLast'] = this.beLast;
    data['bankTypeName'] = this.bankTypeName;
    data['beDefaultName'] = this.beDefaultName;
    data['beLastName'] = this.beLastName;
    data['createDate'] = this.createDate;
    return data;
  }
}
